package com.work.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum UserLoginType {
    ACCOUNT_NOT_EXIST(1, "账号不存在"),
    PASSWORD_ERROR(2, "密码错误"),
    ACCOUNT_LOCKED(3, "账号被锁定"),
    ACCOUNT_DISABLED(4, "账号被禁用"),
    ACCOUNT_EXPIRED(5, "账号已过期"),
    CREDENTIALS_EXPIRED(6, "证书已过期"),
    UNKNOWN_ERROR(7, "未知错误");

    private final int code;
    private final String msg;
}
